package com.example.databasepj.entity;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class OrderDetailEntity {
    private int order_id;
    private int dish_id;
    private int quantity;

    public OrderDetailEntity(int order_id, int dish_id, int quantity) {
        this.order_id = order_id;
        this.dish_id = dish_id;
        this.quantity = quantity;
    }

    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public int getDish_id() {
        return dish_id;
    }

    public void setDish_id(int dish_id) {
        this.dish_id = dish_id;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
}
